package models

// CustomProduct 支持的项目
type CustomProduct int

const (
	// ThisDevOps this product
	ThisDevOps CustomProduct = iota
	// TrainingService 我的云学习后端
	TrainingService
	// TrainingAdmin 我的云学习管理平台
	TrainingAdmin
	// TrainingWebsite 我的云学习PC网页端
	TrainingWebsite
	// TrainingMobile 我的云学习微信端
	TrainingMobile
)

func (customProduct CustomProduct) String() string {
	return []string{"devops", "training-service", "training-admin", "training-website", "training-mobile"}[customProduct]
}
